You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you’ve finished creating your cool bot, ping our Bot Support if you want a better username for it.
In this guide, you’ll learn how to build a Telegram bot capable of sending and receiving images using Python. We'll also show you how to store these images in a database for secure and convenient access—all with free tools.
Pass a file_id as String to send a photo that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a photo from the Internet, or upload a new photo using multipart/form-data.
Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one. To upload a file, you can either pass a file object (e.g. open("
Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet. Lastly you can pass an existing telegram.PhotoSize object to send.
Pass file_id if the photo is already uploaded to telegram servers (recommended because you don't need to reupload it). If the photo is uploaded somewhere else, pass the full http url and telegram will download it (max photo size is 5MB atm).